package Model.Entity;

import SqlGenerator.Entity;


/*
* 用户实体
*
* */
@Entity("user")
public class User  {
    private Long id;
    private String name;
    private String password;
    private String phonenumber;
    private String email;
    private String payment;
    private Integer credit;
    private Integer rating;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {

        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setPayment(String payment) {
        this.payment = payment;
    }

    public void setCredit(Integer credit) {
        this.credit = credit;
    }

    public void setRating(Integer rating) {
        this.rating = rating;
    }

    public String getName() {
        return name;
    }

    public String getPassword() {
        return password;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public String getEmail() {
        return email;
    }

    public String getPayment() {
        return payment;
    }

    public Integer getCredit() {
        return credit;
    }

    public Integer getRating() {
        return rating;
    }
}
